package com.yl.pattern.structuralmodel.adapter.class_adapter;

/**
 * @Author 小羊
 * @Date 30/10/2024下午 8:38
 * @ClassName TfCardImpl
 * @Description 适配者类
 */
public class TfCardImpl implements TfCard{
    @Override
    public String readTf() {
        String msg ="tf card read msg : hello word tf card";
        return msg;
    }
    @Override
    public void writeTf(String msg) {
        System.out.println("tf card write a msg : " + msg);
    }
}
